package com.lq.ecoldchain.ui.mine.certification

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.lq.ecoldchain.R
import com.lq.ecoldchain.entity.CertificationEntity

/*
*2019/1/3 0003  14:40
*function by lq
*/
class CertificationAdapter(list:List<CertificationEntity>):BaseQuickAdapter<CertificationEntity,BaseViewHolder>(R.layout.layout_certification_item,list){
    override fun convert(helper: BaseViewHolder?, item: CertificationEntity?) {
        helper?.addOnClickListener(R.id.certificationItemRl)
        helper?.setText(R.id.certificationItemNameTv,item?.name)
    }
}